package com.trkj.dao.jpa;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.JlCase;

public interface IjlCaseDAO extends CrudRepository<JlCase, Long>{
	
	@Query("select s from JlCase s ")
	public List<JlCase> findcaseByPage(Pageable pageable);
	@Query("select s from JlIccard s where icaId=?1")
	public List<JlCase> findbyreks(long sex); 
}
